<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Xppass Administrator's Control Panel</title>
<LINK href="<?php echo $www_site_url?>/public/yav-style.css" type=text/css rel=stylesheet>
<script src="<?php echo $www_site_url?>/public/js/common.js" type="text/javascript"></script>
<script src="<?php echo $www_site_url?>/public/js/calendar.js" type="text/javascript"></script>
<script src="<?php echo $www_site_url?>/public/js/ajax.js" type="text/javascript"></script>


<script>
function checkOnSubmit(formName) {
  	
	var url = "<?php echo $www_site_url?>/admin.php";
	var params = mini.form.serialize($(formName));
	mini.ajax.post(url, function(r){
		var r = eval('(' + r + ')');   
		if(r.s==200){
			window.location.href = r.d;
		}
		if(r.s==400){
			$('msg').innerHTML = r.m;			
		}
	}, params);
	
	return false;
       
}

</script>
</head>
<body><div id="append"></div>
<div id="msg" style="color:red;text-align:center"></div>
	<div class="container">
	
			<div class="hastabmenu">
				<ul class="tabmenu">
					<li id="srchcorporationbtn" class="tabcurrent"><a href="#"><?php echo lang('search_corporation')?></a></li>
					
				</ul>
				
				<div id="srchcorporationdiv" class="tabcontentcur" style="width:80%">
					<form action="<?php echo $www_site_url?>/admin.php" method="GET">
					<input type="hidden" name="action" value="corporation">				
					<input type="hidden" name="view" value="defaults">					
					<table width="100%">
						<tr>
							<td width="10%"><?php echo lang('c_name')?>:</td>
							<td><input type="text" name="c_name" value="<?php echo $con['c_name']?>" class="textfield" /></td>
						</tr>
						<tr>
							<td><?php echo lang('c_id')?>:</td>
							<td><input type="text" name="c_id" value="<?php echo $con['c_id']?>" class="textfield" /></td>
						</tr>
						<tr>
							<td><?php echo lang('c_contacter')?>:</td>
							<td><input type="text" name="c_contacter" value="<?php echo $con['c_contacter']?>" class="textfield" /></td>
						</tr>						
						<tr>
							<td><?php echo lang('c_title')?>:</td>
							<td><input type="text" name="c_title" value="<?php echo $con['c_title']?>" class="textfield" /></td>
						</tr>
					
						
						<tr>
							<td colspan="2"><input type="submit" value="<?php echo lang('submit')?>" class="button" /></td>
						</tr>
					</table>
					</form>
				</div>

		</div>
		
</div>

</body>
</html>